package gui;

import javax.swing.JScrollPane;

@SuppressWarnings("serial")
public class MyJScrollPane extends JScrollPane {
	private int id;
	private MyJTextPane textPane;
	
	public MyJScrollPane(int id, MyJTextPane textPane) {
		super(textPane);
		setWheelScrollingEnabled(false);
		setEnabled(false);
		setFocusable(false);
		setBounds(8, 15, 770, 480);
		setVisible(true);
		this.textPane = textPane;
		this.id = id;
	}
	
	public int getID() {
		return id;
	}
	
	public MyJTextPane getTextPane() {
		return textPane;
	}
}
